package com.twinkle.user.dto.req;

import com.twinkle.framework.common.validator.EmailNumber;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class FindUserByPhoneReqDTO {
    /**
     * 邮箱
     */
    @NotBlank(message = "邮箱不能为空")
    @EmailNumber
    private String phone;
}
